import request from '@/router/axios';

/**
 * 获取列表
 * @param current
 * @param size
 * @param params
 * @returns {*}
 */

export const getList = (current, size, params) => {
  return request({
    url: '/api/beetles-business/tiktokbcinfo/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
//获取BC列表
export const getBCList = () => {
  return request({
    url: '/api/beetles-business/tiktokbcinfo/refreshList  ',
    method: 'get',
  })
}
//获取bc下拉列表
export const getBcSelectList = () => {
  return request({
    url: '/api/beetles-business/tiktokbcinfo/getSelectList',
    method: 'get',
  })
}
//显隐更新后保存
export const submitBcId= (data) => {
  return request({
    url: '/api/beetles-business/tiktokbcinfo/submit',
    method: 'post',
   data:data
  })
}
